import Vue from 'vue'
import App from './App'
import {$Message} from '../static/base/index'
import 'mpvue-weui/src/style/weui.css'
Vue.config.productionTip = false
Vue.prototype.$Message = $Message
function showLoading () {
  wx.showLoading({
    title: '加载中...',
    mask: true
  })
}
export function hideLoading () {
  wx.hideLoading()
}
Vue.prototype.$showLoading = showLoading
Vue.prototype.$hideLoading = hideLoading
App.mpType = 'app'
const app = new Vue(App)

app.$mount()
